package com.example.zjx8969.myapplication.beans;

import androidx.room.Entity;
import androidx.room.Index;
import androidx.annotation.NonNull;

import java.io.Serializable;

@Entity(tableName = "style", primaryKeys = {"parentId", "category", "styleNo"}, indices = {@Index(value = {"parentId"}), @Index(value = {"category"})})
public class StyleNoListBean implements Serializable {
    /**
     * styleNo:
     * styleType:1-IAP;2-normal style;3-ad style.
     * isLiveStyleShow:
     * isEditShow :
     */
    @NonNull
    public int parentId;//来自SubCategoryListBean的id
    @NonNull
    public String category;//来自SubCategoryListBean的category
    public int accoutId = -1;//手动添加的，服务器并未返回
    public String eventName;
    @NonNull
    public String styleNo;
    public int styleType;
    public boolean isLiveStyleShow;
    public boolean isEditShow;
    public int hsId = -1;
    @Deprecated
    public String styleHint;
    @Deprecated
    public int hintCount;
    public int sort;//排序

}
